package com.hello.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("pet_card")
public class Petcard implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String petName;

    private String imageUrl;

    private String species;

    private String gender;

    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String birthDate;

    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String homeDate;

    private float weight;

    private int mood;

    private String lastInteractionTime;

    private String description;

    private String sterilized;



}
